Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from "include:" to "import_tasks:" to resolve warnings #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

caboteria
Copy link
Contributor

As of Ansible 2.4, "include:" is deprecated in favor of
"include_tasks:" and "import_tasks:". This change removes the
DEPRECATION WARNING that recent Ansible versions output as a result.

As a side-effect, this role no longer works with Ansible versions
older than 2.4, but older versions of this role (such as v1.2) are
still available.

This PR also has a couple of janitorial fixes.

Closes #45

They're available for more Vagrant providers than the Bento boxes.

Signed-off-by: toby cabot <[email protected]>
role_name and namespace are now required, and the dependencies are a
dictionary, and a child of galaxy_info.

Signed-off-by: toby cabot <[email protected]>
As of Ansible 2.4, "include:" is deprecated in favor of
"include_tasks:" and "import_tasks:". This change removes the
DEPRECATION WARNING that recent Ansible versions output as a result.

As a side-effect, this role no longer works with Ansible versions
older than 2.4, but older versions of this role (such as v1.2) are
still available.

Signed-off-by: toby cabot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"include:" is deprecated starting with Ansible 2.14
1 participant